







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new BigList initialized with a given number of copies of the items from collection, in order.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public BigList( IEnumerable<T> collection, int copies ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ collection As IEnumerable(Of T), _ copies As Integer _ ) |
Visual C++ |
---|
public: BigList ( IEnumerable<T>^ collection, int copies ) |
Parameters
- collection
- IEnumerable<(Of <T>)>
The collection used to initialize the BigList.
- copies
- Int32
Number of copies of the collection to use.
Remarks
Initializing the tree list with the elements of collection takes time O(N + log K), where N is the number of
items in collection, and K is the number of copies.
Exceptions
Exception | Condition |
---|---|
System..::ArgumentOutOfRangeException | copies is negative. |
System..::ArgumentNullException | collection is null. |
See Also
BigList<(Of <T>)> Class
Wintellect.PowerCollections Namespace